﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1.Model.Entity
{
    /// <summary>
    /// 销售
    /// </summary>
   public  class Market:BaseEntity
    {
        /// <summary>
        /// 商品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public int StockId { get; set; }
        /// <summary>
        /// 出售数量
        /// </summary>
        public int SellNumber { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal SellPrice { get; set; }

        public Stock Stock { get; set; }
        public Product Product { get; set; }

    }
}
